Add missing CRITICAL severity filter to Copy Issues panel#20
Merged
Conversation
Co-authored-by: shrsv <796107+shrsv@users.noreply.github.com>
shrsv
reviewed
Feb 6, 2026
| return function IssuesPanel({ files, visible, onNavigate, onClose }) { | ||
| // Multi-select filters: Set of active severity types (default: error + warning) | ||
| const [activeFilters, setActiveFilters] = useState(new Set(['error', 'warning'])); | ||
| // Multi-select filters: Set of active severity types (default: critical + error + warning) |
Contributor
There was a problem hiding this comment.
@copilot I am confused - so how many levels are expected from the LLM side (check the prompt). Support all the labels/levels supported by the LLM prompt/specification for reviews.
Copilot
AI
changed the title
[WIP] Add critical comment in copy issues section
Add missing CRITICAL severity filter to Copy Issues panel
Feb 6, 2026
Copilot stopped work on behalf of
shrsv due to an error
February 6, 2026 06:05
There was a problem hiding this comment.
Pull request overview
This PR adds the missing CRITICAL severity filter to the Copy Issues panel in the lrc (local review client) web UI. The backend has always supported critical severity comments, but the UI lacked a filter button to show them, making critical comments invisible and non-copyable through the panel.
Changes:
- Added CRITICAL filter button with count badge and toggle functionality
- Included 'critical' in default active filters (alongside 'error' and 'warning')
- Added CSS styling for critical filter button using dark red color (#dc2626)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| cmd/lrc/static/components/IssuesPanel.js | Added critical filter button, criticalCount calculation, and included 'critical' in default active filters |
| cmd/lrc/static/styles.css | Added styling for critical filter button with appropriate color hierarchy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Copy Issues panel lacked a CRITICAL severity filter despite the backend supporting it. Critical comments were invisible and non-copyable through the UI.
Changes
'critical'in default active filters (alongsideerror,warning)#dc2626dark red, consistent with severity hierarchy)Result
Critical comments now visible and selectable by default. Filter ordering: CRITICAL → ERROR → WARNING → INFO.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.